﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;


namespace KingRoad.EPM.PersonnelLogEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/1/19 10:55:10
    /// </summary> 
    [Serializable]
    [ModelMap("Scm_SafeProduction", new string[] { "Sp_ID" })]
    public class ScmSafeProductionInfo : BaseEntity
    {
        public ScmSafeProductionInfo()
        {

        }
        
        
        private string _spId;
        /// <summary>
        /// 安全生产ID
        /// </summary>
        [ColumnMap("Sp_ID", System.Data.DbType.String)]
        public string Sp_ID
        {
            get {return _spId;}
            set
            {
                if (object.Equals(this._spId, value) != true)
                {
                    this._spId = value;
                    this.RaisePropertyChanged("Sp_ID");
                }
            }
        }
        
        
        private int _spOperateuserid;
        /// <summary>
        /// 操作人ID
        /// </summary>
        [ColumnMap("Sp_OperateUserID", System.Data.DbType.Int32)]
        public int Sp_OperateUserID
        {
            get {return _spOperateuserid;}
            set
            {
                if (object.Equals(this._spOperateuserid, value) != true)
                {
                    this._spOperateuserid = value;
                    this.RaisePropertyChanged("Sp_OperateUserID");
                }
            }
        }
        
        
        private string _spOperateusername;
        /// <summary>
        /// 操作人名称
        /// </summary>
        [ColumnMap("Sp_OperateUserName", System.Data.DbType.String)]
        public string Sp_OperateUserName
        {
            get {return _spOperateusername;}
            set
            {
                if (object.Equals(this._spOperateusername, value) != true)
                {
                    this._spOperateusername = value;
                    this.RaisePropertyChanged("Sp_OperateUserName");
                }
            }
        }
        
        
        private DateTime _spOperatetime;
        /// <summary>
        /// 操作时间
        /// </summary>
        [ColumnMap("Sp_OperateTime", System.Data.DbType.DateTime)]
        public DateTime Sp_OperateTime
        {
            get {return _spOperatetime;}
            set
            {
                if (object.Equals(this._spOperatetime, value) != true)
                {
                    this._spOperatetime = value;
                    this.RaisePropertyChanged("Sp_OperateTime");
                }
            }
        }
        
        
        private DateTime? _spDate;
        /// <summary>
        /// 日期
        /// </summary>
        [ColumnMap("Sp_Date", System.Data.DbType.DateTime)]
        public DateTime? Sp_Date
        {
            get {return _spDate;}
            set
            {
                if (object.Equals(this._spDate, value) != true)
                {
                    this._spDate = value;
                    this.RaisePropertyChanged("Sp_Date");
                }
            }
        }
        
        
        private string _spSafeperson;
        /// <summary>
        /// 安全人员管理
        /// </summary>
        [ColumnMap("Sp_SafePerson", System.Data.DbType.String)]
        public string Sp_SafePerson
        {
            get {return _spSafeperson;}
            set
            {
                if (object.Equals(this._spSafeperson, value) != true)
                {
                    this._spSafeperson = value;
                    this.RaisePropertyChanged("Sp_SafePerson");
                }
            }
        }
        
        
        private string _spLiableperson;
        /// <summary>
        /// 项目责任人
        /// </summary>
        [ColumnMap("Sp_LiablePerson", System.Data.DbType.String)]
        public string Sp_LiablePerson
        {
            get {return _spLiableperson;}
            set
            {
                if (object.Equals(this._spLiableperson, value) != true)
                {
                    this._spLiableperson = value;
                    this.RaisePropertyChanged("Sp_LiablePerson");
                }
            }
        }
        
        
        private string _spCreditdeduct;
        /// <summary>
        /// 信誉评价扣分
        /// </summary>
        [ColumnMap("Sp_CreditDeduct", System.Data.DbType.String)]
        public string Sp_CreditDeduct
        {
            get {return _spCreditdeduct;}
            set
            {
                if (object.Equals(this._spCreditdeduct, value) != true)
                {
                    this._spCreditdeduct = value;
                    this.RaisePropertyChanged("Sp_CreditDeduct");
                }
            }
        }
        
        
        private string _spSupervise;
        /// <summary>
        /// 挂牌督办
        /// </summary>
        [ColumnMap("Sp_Supervise", System.Data.DbType.String)]
        public string Sp_Supervise
        {
            get {return _spSupervise;}
            set
            {
                if (object.Equals(this._spSupervise, value) != true)
                {
                    this._spSupervise = value;
                    this.RaisePropertyChanged("Sp_Supervise");
                }
            }
        }
        
        
        private string _spProjectname;
        /// <summary>
        /// 项目名称
        /// </summary>
        [ColumnMap("Sp_ProjectName", System.Data.DbType.String)]
        public string Sp_ProjectName
        {
            get {return _spProjectname;}
            set
            {
                if (object.Equals(this._spProjectname, value) != true)
                {
                    this._spProjectname = value;
                    this.RaisePropertyChanged("Sp_ProjectName");
                }
            }
        }
        
        
        private string _spFieldproblem;
        /// <summary>
        /// 外业存在问题
        /// </summary>
        [ColumnMap("Sp_FieldProblem", System.Data.DbType.String)]
        public string Sp_FieldProblem
        {
            get {return _spFieldproblem;}
            set
            {
                if (object.Equals(this._spFieldproblem, value) != true)
                {
                    this._spFieldproblem = value;
                    this.RaisePropertyChanged("Sp_FieldProblem");
                }
            }
        }
        
        
        private string _spInteriorproblem;
        /// <summary>
        /// 内业存在问题
        /// </summary>
        [ColumnMap("Sp_InteriorProblem", System.Data.DbType.String)]
        public string Sp_InteriorProblem
        {
            get {return _spInteriorproblem;}
            set
            {
                if (object.Equals(this._spInteriorproblem, value) != true)
                {
                    this._spInteriorproblem = value;
                    this.RaisePropertyChanged("Sp_InteriorProblem");
                }
            }
        }
        
        
        private string _spCorrect;
        /// <summary>
        /// 整改情况
        /// </summary>
        [ColumnMap("Sp_Correct", System.Data.DbType.String)]
        public string Sp_Correct
        {
            get {return _spCorrect;}
            set
            {
                if (object.Equals(this._spCorrect, value) != true)
                {
                    this._spCorrect = value;
                    this.RaisePropertyChanged("Sp_Correct");
                }
            }
        }
        
        
        private string _spRemark;
        /// <summary>
        /// 备注
        /// </summary>
        [ColumnMap("Sp_Remark", System.Data.DbType.String)]
        public string Sp_Remark
        {
            get {return _spRemark;}
            set
            {
                if (object.Equals(this._spRemark, value) != true)
                {
                    this._spRemark = value;
                    this.RaisePropertyChanged("Sp_Remark");
                }
            }
        }
        
        
    }
}



